from django.conf.urls import url

from areas import views

# 123# urlpatterns = {
# #     url(r'^areas/$',views.AreasView.as_view()),
# #     url(r'^areas/(?P<pk>\d+)/$',views.AreasCityView.as_view()),
# # }
urlpatterns = []


from rest_framework.routers import DefaultRouter
router = DefaultRouter()
router.register('areas',views.AreaViewSet,base_name='areas')
urlpatterns += router.urls